Type safety definitions

Search

Type safety

Type safety logo #21000 In computer science, type safety is the extent to which a programming language discourages or prevents type errors. A type error is erroneous or undesirable program behaviour caused by a discrepancy between differing data types for the program`s constants, variables, and methods (functions), e.g., treating an integer (int) as a floating-point num....
Found on http://en.wikipedia.org/wiki/Type_safety

type safety

type safety logo #22776the property that an object can be accessed only according to its definition. C++ approximates this ideal. A programmer can violate type safety by explicitly using a cast, by using an uninitialized variable, by using a pointer that doesn't point to an object, by accessing beyond the end of an array, and by misusing a union. For low-level systems co...
Found on http://www.stroustrup.com/glossary.html
No exact match found.